Repository navigation
test: replace deprecated React test renderer - #85
Conversation
|
@coderabbitai review |
|
CI is green on Linux and Windows, including production builds. The local condensed adversarial review found no blockers. I attempted to request copilot-pull-request-reviewer, but GitHub rejected the GraphQL request for insufficient RequestReviewsByLogin permissions and the REST request returned 404. A maintainer with review-request permission must request Copilot. CodeRabbit was requested above; no response has arrived yet. |
Copilot and CodeRabbit review resultsTo work around review-request permissions here, both bots reviewed the mirror at https://github.com/andrebrait/ompweb/pull/18. I verified that both PRs have exactly the same base (
No code fixes were requested by either review, so the reviewed commit remains unchanged. The prior condensed adversarial review included the lockfile. Upstream CI remains green: Linux and Windows verification, including production builds, plus PR quality gates. The fork PR is a review-only mirror and has not been merged. |
…erer, unify lockfile - MessageView.test.mjs: the grouped-tool-inputs test (added by #89 after this branch) drove Collapsible via TestRenderer internals; reworked onto Testing Library over the real DOM (row triggers, input toggles, rerender) with identical assertions. Last react-test-renderer consumer gone. - package-lock.json: regenerated for the merged dependency set (main's dbus-next plus the Testing Library/jsdom swap).
fe11b64 to
3434e75
Compare
|
Maintainer update: this had gone stale after #89/#94 landed (CI was green only against the old base), so I rebased it onto current main and pushed the fixups to this branch:
tsc, lint, and the full suite (699 tests, 0 failures) pass on the pushed state. If you have local work on this branch you will need a git pull --rebase, sorry for the force-push. Happy to adjust anything or hand it back. |
Preserve the maintainer's migration fixups and port the new session catch-up regressions to the RTL harness. Retain the visible copy-action regression from main.
|
Refreshed against latest
No test gates were weakened. Neither PR has been merged. |
|
@kahme247 shall we mergr this before making further changes? |
Summary
Verification
Native navigation/layout still require browser verification; this test-only migration does not claim jsdom models those browser behaviors. No local Next production build was run, per development policy; CI runs it. npm audit reports three pre-existing dependencies with advisories (@humanfs/node, @xmldom/xmldom, js-yaml); all retain exactly their upstream versions and are outside this migration.
Latest-main refresh (2026-09-14)
Merged current upstream
main(3d11f389, including #95 and #96) into this branch without rewriting the maintainer's earlier fixups. Resolved both test-file conflicts and migrated the incoming catch-up/recovery scenarios to the existing RTL harness, including null-session/options handling, foreground/online events, and unmount cleanup. Preserved all incoming regression assertions and the missing-metadata copy-button test. No production changes beyond the upstream merge and no test-gate changes.Verification for
4f21694:--max-warnings=0.The existing review-only companion is https://github.com/andrebrait/ompweb/pull/18; its base has been advanced to the same upstream commit so its diff matches this PR. Neither PR has been merged.